projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a33c49a
)
(Fstart_kbd_macro): Use CHECK_VECTOR_OR_STRING.
author
Kim F. Storm
<storm@cua.dk>
Wed, 12 Jul 2006 13:19:42 +0000
(13:19 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Wed, 12 Jul 2006 13:19:42 +0000
(13:19 +0000)
src/macros.c
patch
|
blob
|
history
diff --git
a/src/macros.c
b/src/macros.c
index ef3ff8c052341e5d29a1e1dd87b892c5ad360098..fb452e4e318ec505ed7c00971830a83518052962 100644
(file)
--- a/
src/macros.c
+++ b/
src/macros.c
@@
-97,10
+97,7
@@
macro before appending to it. */)
int cvt;
/* Check the type of last-kbd-macro in case Lisp code changed it. */
- if (!STRINGP (current_kboard->Vlast_kbd_macro)
- && !VECTORP (current_kboard->Vlast_kbd_macro))
- current_kboard->Vlast_kbd_macro
- = wrong_type_argument (Qarrayp, current_kboard->Vlast_kbd_macro);
+ CHECK_VECTOR_OR_STRING (current_kboard->Vlast_kbd_macro);
len = XINT (Flength (current_kboard->Vlast_kbd_macro));